﻿<?PHP

if (!$lang['admin_logo']) $lang['admin_logo'] = "engine/skins/images/nav.jpg";

$skin_header = <<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>DataLife Engine - $lang[skin_title]</title>
<meta content="text/html; charset={$config['charset']}" http-equiv="content-type" />
<link rel="stylesheet" type="text/css" href="engine/skins/default.css">
<link rel="stylesheet" type="text/css" href="engine/skins/jquery-ui.css">
{js_files}

<script type="text/javascript" src="engine/skins/superfish.js"></script>
<script type="text/javascript"><!--
$(document).ready(function() {
	$('#menu > ul').superfish({
		hoverClass	 : 'sfHover',
		pathClass	 : 'overideThisToUse',
		delay		 : 0,
		animation	 : {height: 'show'},
		speed		 : 'normal',
		autoArrows   : false,
		dropShadows  : false, 
		disableHI	 : false, /* set to true to disable hoverIntent detection */
		onInit		 : function(){},
		onBeforeShow : function(){},
		onShow		 : function(){},
		onHide		 : function(){}
	});
	
	$('#menu > ul').css('display', 'block');
});
 
//--></script> 

</head>
<body>
<script language="javascript" type="text/javascript">
<!--
var dle_act_lang   = ["{$lang['p_yes']}", "{$lang['p_no']}", "{$lang['p_enter']}", "{$lang['p_cancel']}"];
//-->
</script>
<div id="loading-layer"><div id="loading-layer-text">{$lang['ajax_info']}</div></div>



<div id="container">
<div id="header">
  <div class="div1">
    <div class="div2"><img src="engine/skins/images/logo.png" title="Administration" onclick="location = '$PHP_SELF?mod=main'" alt="" /></div>
        <div class="div3"><img src="engine/skins/images/lock.png" alt="" style="position: relative; top: 3px;" />&nbsp;{$lang['skin_name']} <span>{user} ({group})</span> &nbsp; <a href="$PHP_SELF?action=logout" class=navigation>$lang[skin_logout]</a></div>
      </div>
    <div id="menu">
    <ul class="left sf-js-enabled" style="display: block;">
      <li><a href="$PHP_SELF?mod=main" class="top">$lang[skin_main]</a>
        <ul style="display: none; visibility: hidden;">
          <li><a href="$PHP_SELF?mod=addnews&action=addnews">Ajouter Nouvelles</a></li>
          <li><a href="$PHP_SELF?mod=editnews&action=list">Edition (Modification ou Approuver) Nouvelles</a></li>
          <li><a href="$PHP_SELF?mod=options&action=options">Liste de toutes les options admin</a></li>
        </ul>
      </li>
      <li><a class="top">{$lang['opt_hopt']}</a>
        <ul style="display: none; visibility: hidden;">
          <li><a href="$PHP_SELF?mod=options&action=syscon">{$lang['opt_all']}</a></li>
          <li><a href="$PHP_SELF?mod=categories">{$lang['opt_cat']}</a></li>
          <li><a href="$PHP_SELF?mod=dboption">{$lang['opt_db']}</a></li>
          <li><a href="$PHP_SELF?mod=videoconfig">{$lang['opt_vconf']}</a></li>
          <li><a href="$PHP_SELF?mod=xfields&xfieldsaction=configure">{$lang['opt_xfil']}</a></li>
          <li><a href="$PHP_SELF?mod=question">{$lang['opt_question']}</a></li>
        </ul>
      </li>
      <li><a class="top">{$lang['opt_s_acc']}</a>
        <ul style="display: none; visibility: hidden;">
          <li><a href="$PHP_SELF?mod=editusers&action=list">{$lang['opt_user']}</a></li>
          <li><a href="$PHP_SELF?mod=userfields&xfieldsaction=configure">{$lang['opt_xprof']}</a></li>
          <li><a href="$PHP_SELF?mod=usergroup">{$lang['opt_group']}</a></li>
          <li><a href="$PHP_SELF?mod=options&action=personal">{$lang['opt_priv']}</a></li>
        </ul>
      </li>
      <li><a class="top">{$lang['opt_s_tem']}</a>
        <ul style="display: none; visibility: hidden;">
          <li><a href="$PHP_SELF?mod=templates">{$lang['opt_t']}</a></li>
          <li><a href="$PHP_SELF?mod=email">{$lang['opt_email']}</a></li>
        </ul>
      </li>
      <li class="" id="system"><a class="top">{$lang['opt_s_fil']}</a>
        <ul style="display: none; visibility: hidden;">
          <li><a href="$PHP_SELF?mod=wordfilter">{$lang['opt_fil']}</a></li>
          <li><a href="$PHP_SELF?mod=blockip">{$lang['opt_ipban']}</a></li>
          <li><a href="$PHP_SELF?mod=iptools">{$lang['opt_iptools']}</a></li>
          <li><a href="$PHP_SELF?mod=search">{$lang['opt_sfind']}</a></li>
          <li><a href="$PHP_SELF?mod=rebuild">{$lang['opt_srebuild']}</a></li>
          <li><a href="$PHP_SELF?mod=complaint">{$lang['opt_complaint']}</a></li>
          <li><a href="$PHP_SELF?mod=check">{$lang['opt_check']}</a></li>
        </ul>
      </li>
      <li><a class="top">{$lang['opt_s_oth']}</a>
        <ul style="display: none; visibility: hidden;">
          <li><a href="$PHP_SELF?mod=static&action=doedit&page=rules">{$lang['opt_rules']}</a></li>
          <li><a href="$PHP_SELF?mod=static">{$lang['opt_static']}</a></li>
          <li><a href="$PHP_SELF?mod=clean">{$lang['opt_clean']}</a></li>
          <li><a href="$PHP_SELF?mod=newsletter">{$lang['main_newsl']}</a></li>
          <li><a href="$PHP_SELF?mod=editvote">{$lang['opt_vote']}</a></li>
          <li><a href="$PHP_SELF?mod=files">{$lang['opt_img']}</a></li>
          <li><a href="$PHP_SELF?mod=banners&action=list">{$lang['opt_banner']}</a></li>
          <li><a href="$PHP_SELF?mod=googlemap">{$lang['opt_google']}</a></li>
          <li><a href="$PHP_SELF?mod=rss">{$lang['opt_rss']}</a></li>
          <li><a href="$PHP_SELF?mod=rssinform">{$lang['opt_rssinform']}</a></li>
          <li><a href="$PHP_SELF?mod=tagscloud">{$lang['opt_tagscloud']}</a></li>
          <li><a href="$PHP_SELF?mod=logs">{$lang['opt_logs']}</a></li>
		  <li><a href="$PHP_SELF?mod=help">Fichier d aide</a></li>
        </ul>
      </li>
      
    </ul>
    <ul style="display: block;" class="right sf-js-enabled">
      <li><a href="$PHP_SELF?mod=main" class="top">$lang[skin_main]</a></li>
      <li style="cursor:pointer !important"><a onclick="window.open('{$config['http_home_url']}');" class="top">$lang[skin_view]</a></li>
<!--      <li><a class="top" href="$PHP_SELF?action=logout">$lang[skin_logout]</a></li> -->
    </ul>
  </div>
  </div>
<div id="content">


<table align="center" id="main_body" style="width:98%;">
    <tr>
        <td width="4" height="16"><img src="engine/skins/images/tb_left.gif" width="4" height="16" border="0" /></td>
		<td background="engine/skins/images/tb_top.gif"><img src="engine/skins/images/tb_top.gif" width="1" height="16" border="0" /></td>
		<td width="4"><img src="engine/skins/images/tb_right.gif" width="3" height="16" border="0" /></td>
    </tr>
	<tr>
        <td width="4" background="engine/skins/images/tb_lt.gif"><img src="engine/skins/images/tb_lt.gif" width="4" height="1" border="0" /></td>
		<td valign="top" style="padding-top:12px; padding-left:13px; padding-right:13px;" bgcolor="#FAFAFA">
		
<div>
<table width="100%">
    <tr>
        <td width="4"><img src="engine/skins/images/tl_lo.gif" width="4" height="4" border="0"></td>
        <td background="engine/skins/images/tl_oo.gif"><img src="engine/skins/images/tl_oo.gif" width="1" height="4" border="0"></td>
        <td width="6"><img src="engine/skins/images/tl_ro.gif" width="6" height="4" border="0"></td>
    </tr>
    <tr>
        <td background="engine/skins/images/tl_lb.gif"><img src="engine/skins/images/tl_lb.gif" width="4" height="1" border="0"></td>
        <td style="padding:5px;" bgcolor="#FFFFFF">
<table width="100%">
    <tr>
        <td  width="267"><img src="{$lang['admin_logo']}" width="311" height="99" border="0" usemap="#ImageNav"></td>
        <td style="background: url(engine/skins/images/logo_bg.jpg)">&nbsp;<map name="ImageNav">
<area shape="rect" coords="61, 11, 268, 36" href="$PHP_SELF?mod=addnews&amp;action=addnews" alt="" title="Ajouter ou Soumettre un article" />
<area shape="rect" coords="61, 35, 268, 60" href="$PHP_SELF?mod=editnews&amp;action=list" alt="" title="Modifier,examiner et approuver les articles - posts" />
<area shape="rect" coords="61, 59, 268, 84" href="$PHP_SELF?mod=options&amp;action=options" alt="" title="Options de menu -(Paramètres avancés)" />
</map></td>
        <td width="490"><img src="engine/skins/images/logos.jpg" width="490" height="99" border="0"></td>
    </tr>
</table>
</td>
        <td background="engine/skins/images/tl_rb.gif"><img src="engine/skins/images/tl_rb.gif" width="6" height="1" border="0"></td>
    </tr>
    <tr>
        <td><img src="engine/skins/images/tl_lu.gif" width="4" height="6" border="0"></td>
        <td background="engine/skins/images/tl_ub.gif"><img src="engine/skins/images/tl_ub.gif" width="1" height="6" border="0"></td>
        <td><img src="engine/skins/images/tl_ru.gif" width="6" height="6" border="0"></td>
    </tr>
</table>
</div>
<!--MAIN area-->
HTML;

$skin_footer = <<<HTML
	 <!--MAIN area-->
	<div style="height:8px; display:block"></div>

		</td>
		<td width="4" background="engine/skins/images/tb_rt.gif"><img src="engine/skins/images/tb_rt.gif" width="4" height="1" border="0" /></td>
    </tr>
	<tr>
        <td height="16" background="engine/skins/images/tb_lb.gif"></td>
		<td background="engine/skins/images/tb_tb.gif"></td>
		<td background="engine/skins/images/tb_rb.gif"></td>
    </tr>
</table>
<div style="padding-bottom:10px;">
<table width="100%">
    <tr>
        <td height="40" align="center" style="padding-right:10px;"><div class="navigation"><a href="http://dle-news.ru/" target="_blank">DataLife Engine CMS</a> | Nulled by <a href="http://www.dle-fr.org" target="_blank">TEAM DLE-FR.ORG SUPPORT</a><br />Copyright 2004-2013 &copy; <a href="http://dle-news.ru" target="_blank">SoftNews Media Group</a>. All rights reserved.</div><a target="_blank" href="http://www.dle-fr.org/"><br />
<img title="support french DataLife Engine" alt="Support francais" src="/engine/skins/images/supportfr.png" /></a></p></td>
      </tr>
</table></div>	

</div>

</div>


<script language="javascript" type="text/javascript">
<!--
function getClientWidth()
{
  return document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientWidth:document.body.clientWidth;
}
var main_body_size = getClientWidth();

if (main_body_size > 1300) document.getElementById('main_body').style.width = "1200px";

//-->
</script>
</body>

</html>
HTML;

$skin_login = <<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>DataLife Engine - $lang[skin_title]</title>
<meta content="text/html; charset={$config['charset']}" http-equiv="content-type" />
<style type="text/css">
html,body{
	width:100%;
	margin:0px;
	padding: 0px;
	background: #D9E2F0;
	font-size: 11px;
	font-family: verdana;
}

#login-box {
	width:447px;
	height:377px;
	margin:10% auto 0 auto;
	background:#FFFFFF;
}

form {
	margin:0px;
	padding: 0px;
}

input,
select {
	color: #000000;
	outline:none;
}

input[type="text"],
input[type="password"],
select {
	width:340px;
	background-color: #FFFFFF;
	color: #000000;
	font-size: 18px;
	font-family: verdana;
	font-weight: bold;
	border: none;
	margin-top: 20px;
	margin-left: 60px;
}

input[type="checkbox"] {
	padding:0px;
	margin-top: 25px;
}

label {
	padding:0px;
	margin:0px;
}

.error {
	padding-top: 75px;
	padding-left: 27px;
}
</style>
</head>
<body>
<form  name="login" action="" method="post"><input type="hidden" name="subaction" value="dologin">
<div id="login-box">
	<div style="width:447px;height:95px;background: url(engine/skins/images/loginheader.png);"><div class="error">{result}</div></div>
	<div style="width:447px;height:66px;background: url(engine/skins/images/{mauth}.png);"><input type="text" name="username"></div>
	<div style="width:447px;height:67px;background: url(engine/skins/images/loginbox3.png);"><input type="password" name="password"></div>
	<div style="width:447px;height:67px;background: url(engine/skins/images/loginbox4.png);">{select}</div>
	<div style="width:37px;height:82px;float:left;background: url(engine/skins/images/loginbox6.png);"></div>
	<div style="width:283px;height:82px;float:left;background: url(engine/skins/images/loginbox7.png);"><input type="checkbox" name="login_not_save" id="login_not_save" value="1"/><label for="login_not_save">&nbsp;{$lang['m_not_save']}</label></div>
	<div style="width:102px;height:82px;float:left;"><input type="image" src="engine/skins/images/loginbox8.png"></div>
	<div style="width:25px;height:82px;float:right;background: url(engine/skins/images/loginbox5.png);"></div>
</div></form>
</body>
</html>
<p style="text-align: center;"><span style="color: rgb(217, 226, 240);">Theme modifier par la team dle-fr.org</span></p>
HTML;

?>